package org.shop.dao;

import java.util.Map;

import org.shop.dao.base.BaseDaoMapper;
import org.shop.entity.Supplier;

public interface SupplierMapper extends BaseDaoMapper<Supplier, Long>{
	/**
	 * 通过用户id查询供货商信息
	 * @param userId
	 * @return
	 */
	public Supplier findSupplierByUserId(Long userId);
	/**
	 * 通过供货商名称查询供货商信息
	 * @param userId
	 * @return
	 */
	public Supplier findSupplierBySupplierName(Map<String, Object> paramMap);
	
}